package cn.rengy.web.framework.wxmp.component;

import java.io.Serializable;
import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import cn.rengy.tpa.wxmp.component.ComponentApp;

public class WxComponentApp extends ComponentApp implements RowMapper<WxComponentApp>,Serializable{

	private static final long serialVersionUID = -769646864564048470L;
	
	@Override
	public WxComponentApp mapRow(ResultSet rs, int rowNum) throws SQLException {
		this.setAppid(rs.getString("appid"));
		this.setAeskey(rs.getString("aeskey"));
		this.setAppsecret(rs.getString("appsecret"));
		this.setToken(rs.getString("token"));
        return this;
	}

	
}
